package com.imooc.repository;

import com.imooc.domain.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Create by Lqz
 * @date 2018/5/30 18:00
 */
public interface ProductInfoRepository extends JpaRepository<ProductInfo,String> {

    /** 商品状态查询 */
    List<ProductInfo> findByProductStatus(Integer status);
}
